package com.qf.j2205.service;

import com.qf.j2205.entity.AdminInfo;

/**
 * @ClassName AdminInfoService
 * @Description TODO
 * @Author Windy
 * @Date 2022/8/15 17:27
 * @Version 1.0
 **/
public interface AdminInfoService {

    /**
     * 通过用户名和密码判断是否登陆成功
     * @param username
     * @param password
     * @return
     */
    public AdminInfo isLogin(String username, String password);

    /**
     * 更新用户
     * @param admin
     * @return
     */
    public boolean updateAdmin(AdminInfo admin);

}
